<?php
namespace app\api\validate;
use think\Validate;
class Comment extends Validate
{
    protected $rule = [
        'content'  =>  'require',
    ];

    protected $message = [
        'content.require' =>  '内容参数不能为空',
    ];

}
